#ifndef GD32F10X_IT_H
#define GD32F10X_IT_H

#include "gd32f10x.h"
extern can_receive_message_struct   receive_message;
extern uint8_t can0_receive_flag;
extern uint8_t checksum_flag;
extern FlagStatus can0_error_flag;

/* function declarations */
/* this function handles NMI exception */
void NMI_Handler(void);
/* this function handles HardFault exception */
void HardFault_Handler(void);
/* this function handles MemManage exception */
void MemManage_Handler(void);
/* this function handles BusFault exception */
void BusFault_Handler(void);
/* this function handles UsageFault exception */
void UsageFault_Handler(void);
/* this function handles SVC exception */
void SVC_Handler(void);
/* this function handles DebugMon exception */
void DebugMon_Handler(void);
/* this function handles PendSV exception */
void PendSV_Handler(void);
/* this function handles SysTick exception */
void SysTick_Handler(void);
/* TIMER1 handle function */
void TIMER1_IRQHandler(void);
/* CAN0 RX0 handle function */
void USBD_LP_CAN0_RX0_IRQHandler(void);

#endif /* GD32F10X_IT_H */
